package request

import (
	"server/global"
	"server/model/system"
)

// Add menu authority info structure
type AddMenuAuthorityInfo struct {
	Menus       []system.SysBaseMenu `json:"menus"`
	AuthorityId uint                 `json:"authorityId"` // 角色ID
}

func DefaultMenu() []system.SysBaseMenu {
	return []system.SysBaseMenu{{
		A_MODEL: global.A_MODEL{ID: 1},
		ParentId:  0,
		Name:      "home",
	}}
}
